/**
 * 用户相关请求模块
 */

import request from '@/utils/request'

export const getUserInfo = () => {
  return request({
    method: 'GET',
    url: '/front/user/getInfo'
  })
}

export const getUserPages = (data) => {
  return request({
    method: 'GET',
    url: '/api/User/Get',
    params: data
  })
}

export const GetUserByToken = (token) => {
  return request({
    method: 'GET',
    url: '/api/User/GetInfoByToken',
    params: token
  })
}
